package com.ffcs.cn.action.labelBase.output;

import com.supermap.desktop.core.Application;
import com.supermap.desktop.core.Interface.IBaseItem;
import com.supermap.desktop.core.implement.CtrlAction;
import com.ffcs.cn.DevelopProperties;

import java.util.List;

/**
 * 输出异常信息
 *
  */
public class CtrlActionOutputException extends CtrlAction {

	public CtrlActionOutputException(IBaseItem caller) {
		super(caller);
	}

	@Override
	protected void run() {
		try {
			List<String> list = null;
			System.out.println(list.size());
		} catch (Exception e) {
			Application.getActiveApplication().getOutput().output(DevelopProperties.getString("String_OutputExceptionSucceed"));
			Application.getActiveApplication().getOutput().output(e);
		}
	}
}
